package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.annotation.Dict;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 张拉压浆预警信息业务对象 zj_n_warning_zlyj
 *
 * @author tll
 * @date 2023-12-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjNWarningZlyjBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 张拉压浆类型(1张拉2压浆)
     */
    @NotBlank(message = "张拉压浆类型(1张拉2压浆)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 报警时间
     */
    @NotNull(message = "报警时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date insterTime;

    /**
     * 报警信息
     */
    @NotBlank(message = "报警信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 关联业务数据id
     */
    @NotNull(message = "关联业务数据id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String businessId;

    /**
     * 短信发送状态(成功返0 失败返1)
     */
    @NotBlank(message = "短信发送状态(成功返0 失败返1)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    private String startTime;
    private String endTime;

    /**
     * 处置状态 1未处置2草稿3处置中4已确认
     */
    private Integer disposalStatus;

    private String userId;

}
